DetectHiddenWindows,On
 ;SetTitleMatchMode,1
;D:\workspace\AtiBrow\AutoHotKey\AutoHotkey.exe  D:\workspace\AtiBrow\hideFirefox.ahk

Loop
{
 
;-----------actplayer win
 	WinGet, active_id, ID,ahk_class MozillaWindowClass
 	;MsgBox %active_id%
	WinMinimize ,ahk_class MozillaWindowClass
	WinMinimize,%active_id%
	PostMessage, 0x112, 0xF020,,, ahk_class MozillaWindowClass 
	PostMessage, 0x112, 0xF020,,,2015
 
Sleep, 500
}

#c:: ExitApp